package com.jlcindia.spring;

import org.aspectj.lang.ProceedingJoinPoint;

public class LogService {
	public void log(ProceedingJoinPoint pjp) throws Throwable{
		System.out.println("LS-log() Begin");
		logBefore();
		pjp.proceed();
		logReturning();
		System.out.println("LS-log() End");
	}
	
	public void logBefore(){
		System.out.println("LS-logBefore()");
	}
	
	public void logReturning(){
		System.out.println("LS-logReturning()");
	}
	
	public void logThrowing(){
		System.out.println("LS-logThrowing()");		
	}
	
	public void logOk(){
		System.out.println("LS-logOk()");
	}
}